<div id="error">
  <span id="error" ><?= $error ?></span>
  <span><?php if (isset($message)) echo $message; ?></span>
</div>    